﻿using AutoMapper;
using System;
using Volo.Abp.Identity;
using Volo.Abp.ObjectExtending;

namespace AbpProjectTemplate.Identity
{
    [AutoMap(typeof(IdentityUser))]
    public class IdentityUserCacheItem : ExtensibleObject
    {
        public IdentityUserCacheItem(Guid id, string name, string email, string securityStamp)
        {
            Id = id;
            Name = name;
            Email = email;
            SecurityStamp = securityStamp;
        }

        protected IdentityUserCacheItem()
        {
        }

        public Guid Id { get; set; }

        public virtual string Name { get; set; }

        public virtual string Email { get; set; }

        public virtual string SecurityStamp { get; set; }
    }
}
